package com.miguo.activity.callback;

import com.miguo.activity.callback.listener.GoodsScrollListener;
import com.miguo.framework.adapter.QuickAdapter;
import com.miguo.framework.request.JsonData;

import java.util.List;

/**
 * File Names: IGoodsModel
 * Describe:
 * User: LinXiaoZhi(87100854@qq.com)
 * Date: 2015-07-28
 * Time: 17:33
 */
public interface IGoods<Bean, Adapter extends QuickAdapter> {

    Adapter onGoodsLoadAdapter();

    List<Bean> onGoodsDealList(JsonData data);

    void onGoodsLoadData();

    GoodsScrollListener onGoodsScroll();

    void onGoodsRefresh();

    void onGoodsFinish();

    void onGoodsError();

    void onGoodsFail();
}
